WooCommerce\PayPalCommerce\WcGateway\Helper\DisplayRule S

Total Complexity 26
Dependencies 1
Dependents 1
Total lines 246
Lines of code 101
Logical lines of code 43
Comment lines 101
Methods 12
Properties 5

Methods 12

Method Rating Maintainability Complexity Lines of code
resolve_operation()
S
57 7 17
add_condition()
S
64 4 9
add_action()
S
64 4 9
condition_is_settings()
S
66 2 8
json()
S
79 2 3
condition_element()
S
64 1 11
__construct()
S
77 1 4
condition_is_true()
S
67 1 9
action_visible()
S
66 1 10
action_enable()
S
66 1 10
should_add_selector_prefixes()
S
77 1 4
to_array()
S
69 1 7